/*头部*/
header {
  height: 45px;
  width: 100%;
  background-color: #f4483e;
  display: flex;
  justify-content: space-between;
  padding-left: 15px;
  padding-right: 7px;
  color: #ffffff;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 5;

  //  左边
  .left {
    width: 45px;
    height: 42px;
    font-size: 40px;
  }

  h1 {
    font-size: 22px;
    // color: #ffffff;
    line-height: 45px;
  }

  // 右边
  a {
    line-height: 40px;

    img {
      width: 34px;
      height: 34px;
      margin: 5px 0;
    }
  }
}



/*导航*/
nav {
  padding-top: 45px;
  background-color: #fff;

  .navs {
    width: 100%;
    overflow: hidden;


    .nav_title {
      margin: 0;
      padding: 0;
      overflow: hidden;
      width: 250%;
      display: flex;
      flex-wrap: nowrap;

      li {
        list-style: none;
        margin: 0 .31rem;
        text-align: center;

        a {
          font-size: 0.16rem;
          padding: 15px 0;
        }
      }
    }
  }



  .active {
    color: red;
    border-bottom: 1px solid red;
  }
}


/*内容部分*/
.content {

  .content_all {
    li {
      margin: 0.1rem 0;
      display: flex;
      padding: 0.2rem .1rem;
      background-color: #fff;

      .content_pic {
        width: 30%;
      }

      .content_item {
        width: 70%;
        padding-left: 0.1rem;

        // 标题
        h3 {
          font-weight: normal;
          font-size: 0.2rem;
        }

        // 价格
        .price {
          font-size: 0.18rem;
          color: #f4483e;
          margin-top: 0.15rem;

          i {
            font-style: normal;
          }

          em {
            font-size: 0.12rem;
            font-style: normal;
            padding-left: 0.1rem;
          }

          del {
            font-style: normal;
            font-size: 0.12rem;
            color: #857b7e;
            padding-left: 0.2rem;
          }
        }

        // 进度条
        .bar {
          margin-top: 0.2rem;

          i {
            float: left;
            width: 50%;
            height: 15px;
            border: 1px solid #f4483e;
            border-radius: 10px;
            overflow: hidden;
            position: relative;
            background-color: #ffb7b7;

            em {
              background: #f4483e;
              height: 100%;
              float: left;

            }

            span {
              font-size: 0.02rem;
              font-style: normal;
              line-height: 1;
              position: absolute;
              top: 0;
              left: 50%;
              color: #ffffff;
              font-weight: 700;
            }
          }

          b {
            float: left;
            font-style: normal;
            font-weight: normal;
            font-size: 0.12rem;
            padding-left: 0.1rem;
            color: #f4483e;
          }
        }

        // 优惠券
        .copun {
          a {
            font-size: 0.12rem;
            display: inline-block;
            margin-top: 0.15rem;

            &:first-child {
              padding: 0.1rem;
              border: 1px dashed #f4483e;
              float: left;
              margin-right: 0.05rem;
              color: #f4483e;
            }

            &:nth-child(2) {
              padding: 0.1rem;
              background-color: #f4483e;
              float: right;
              border-radius: 5px;
              color: #fff;
            }
          }
        }
      }
    }
  }
}


/*回到顶部*/
.backTop {
  width: 46px;
  height: 46px;
  background: rgba(0, 0, 0, .6);
  position: fixed;
  bottom: 17px;
  right: 10px;
  border-radius: 50%;

  i {
    font-size: 28px;
    color: rgba(#fff, .6);
    // color: #333;
    position: fixed;
    bottom: 26px;
    right: 20px;
    font-weight: normal;
    font-style: normal;
  }
}



/*底部*/
footer {
  width: 100%;
  background-color: #efefef;

  div {
    width: 100%;
    display: flex;
    color: #fff;
  }

  // 第一个div
  div:nth-child(1) {
    margin-top: 0.5rem;
    font-size: 0.24rem;
    display: flex;
    justify-content: space-around;

    span {
      border: 1px solid #333;
      width: 33.33%;
      text-align: center;
      color: #333;
      padding: 0.1rem 0;
    }

    span:nth-child(1) {
      border-left: none;
    }

    span:nth-child(3) {
      border-right: none;
    }
  }

  // 第二个div
  div:nth-child(2) {
    margin-top: 0.2rem;
    // border: 1px solid red;
    font-size: 0.16rem;
    display: flex;
    flex-wrap: wrap;

    span {
      width: 27.53%;
    }

    span:nth-child(1) {
      color: red;
      text-align: right;
      // border: 1px solid red;
      width: 37.53%;
    }

    span:nth-child(2) {
      color: #333;
      // border: 1px solid red;
      width: 16.33%;
    }

    span:nth-child(3) {
      color: #857b7e;
    }

    span:nth-child(4) {
      color: #857b7e;
      flex: 1;
      text-align: center;
    }
  }
}